-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update OffCanvas component's more menu to get clientId from block rather than passed in as prop #50473
Conversation
Size Change: +3 B (0%) Total Size: 1.38 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does what it says it does! thank you!
Flaky tests detected in 96151df. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4927521857
|
What?
In the OffCanvas component this PR uodates the more menu of the block leaf to extract the
clientId
from the currentblock
leaf, instead of having to pass theclientId
as a prop to the more menu.Why?
We are removing
<OffCanvasEditor />
, and this change is necessary for several of the PRs that are part of this work. This shouldn't change the functionality of anything, but is a necessary change to move several PRs forwards so it made sense to merge it to trunk and rebase the other PRs, like:Testing Instructions
There should be no functional changes to anything. Purely a refactor.